-
Notifications
You must be signed in to change notification settings - Fork 146
Use a merged JVM+OS trust store as default SSLContext #2241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Test Results 1 926 files - 21 1 926 suites - 21 3h 4m 22s ⏱️ + 1h 18m 42s For more details on these failures and errors, see this check. Results for commit c72d4b3. ± Comparison against base commit 879c3bd. ♻️ This comment has been updated with latest results. |
|
@sratz you need suppress the illegal access here, the testfailure look suspicious... |
The problem is Lines 50 to 52 in 879c3bd
which uses SessionTestExtension with CustomSessionConfigurationImplLine 41 in 879c3bd
I have added Where should I add those additional bundles? customize just |
|
Mockito might be used in more tests in the future so I think you can decide what works best for you here. |
|
I have just read eclipse-jdt/eclipse.jdt.core#4587 which somehow made me more cautious about mocking frameworks. |
If we can assume that every consumer of the session test framework has Mockito available, it would probably make sense to add it to the default bundles. Note that they are used in other projects as well (such as Equinox), but I guess all of them will have Mockito available. |
True, mocking concrete classes (especially final ones) / static mocks / etc. can be dangerous and are often result of a bad design. Rules of good design are typically:
In this case, |
|
I added the needed bundles to just the one test class needing them. Alternatively, use custom stubs instead of mocks and the need for Mockito: With vs. without mocks: I have no real preference, but the latter would avoid the dependency. |
Resolves:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=567504
#1690
Obsoletes (to-be-reverted):
eclipse-platform/eclipse.platform.releng.aggregator#929
eclipse-packaging/packages#224
Replaces:
eclipse-equinox/equinox#1176
See also:
eclipse-simrel/.github#38